package com.liang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liang.entity.CCommentId;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 李昂
 * @since 2021-01-30
 */
public interface CCommentIdMapper extends BaseMapper<CCommentId> {

    @Select("select * from c_comment_id where bid=#{bid}")
    List<CCommentId> getCommentId(@Param("bid") Integer bid);

}
